<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:composite="http://java.sun.com/jsf/composite"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui">

    <composite:interface>
        <composite:attribute name="listBean" type="com.jsoft.pds.view.beans.base.BaseViewListBean" required="true"/>
        <composite:attribute name="bean" type="com.jsoft.pds.view.beans.base.BaseViewBean" required="true"/>
        <composite:attribute name="dialog" type="java.lang.String" required="true"/>
    </composite:interface>

    <composite:implementation>
		
        <h:panelGrid id="panelGridOptions" columns="1" cellpadding="0" cellspacing="1" styleClass="ui-panel-lista-options">
            <h:panelGroup id="panelGroupOptions" columns="3">
            	<span class="ui-panel-lista-action">
	            	<h:commandButton id="updateActionId" image="#{cc.attrs.listBean.getImageUrl('update.png')}" 
	                	action="#{cc.attrs.listBean.updateAction(cc.attrs.bean)}">
					</h:commandButton>
				</span>
				<span class="ui-panel-lista-action">
            		<h:commandButton id="deleteActionId" image="#{cc.attrs.listBean.getImageUrl('delete.png')}" 
                		onclick="PF('dialogCancel').show();">
					</h:commandButton>
				</span>
				<span class="ui-panel-lista-action">
					<h:commandButton id="viewActionId" image="#{cc.attrs.listBean.getImageUrl('view.png')}" 
                		action="#{cc.attrs.listBean.viewAction(cc.attrs.bean)}">
					</h:commandButton>
				</span>
            </h:panelGroup>
        </h:panelGrid>
        
    </composite:implementation>

</html>